package com.ruibang.glass.sale.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruibang.glass.sale.entity.GSaleOrderProduct;
import com.teaming.cloud.framework2.common.pojo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;


@Data
@ApiModel
public class GSaleToBeSettledDTO implements Serializable {

    @ApiModelProperty(value = "Id")
    private String id;
    @ApiModelProperty(value = "订单编号")
    private String orderNumber;

    @ApiModelProperty(value = "合同名称")
    private String contractName;

    @ApiModelProperty(value = "合同编号")
    private String contractNumber;

    @ApiModelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value = "单据类型")
    private String saleOrder;

    @ApiModelProperty(value = "销售类型")
    private String saleType;

    @ApiModelProperty(value = "来源单号")
    private String inOrderNumber;

    @ApiModelProperty(value = "客户")
    private String customerName;

    @ApiModelProperty(value = "数量")
    private BigDecimal orderQuantity;

    @ApiModelProperty(value = "产品类别")
    private String productCategory;
    @ApiModelProperty(value = "执行标准")
    private String executionStandard;
    @ApiModelProperty(value = "产品规格")
    private String productSpecification;
    @ApiModelProperty(value = "品级")
    private String grade;
    @ApiModelProperty(value = "单位")
    private String unit;
    @ApiModelProperty(value = "创建人Id")
    private String createUserId;

    @ApiModelProperty(value = "创建人Id")
    private String createUserName;

    @ApiModelProperty(value = "跟新人")
    private String updateUserName;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "类型 1销售2退货")
    private String orderStatus;


}
